home *** CD-ROM | disk | FTP | other *** search
- //CGVER1.8
- vs_1_1
- // DX9 Vertex shader generated by NVIDIA Cg compiler
- // cgc version 1.1.0003, build date Jul 7 2003 11:55:19
- // command line args: -q -profile vs_1_1 -entry main -profileopts dcls
- // nv30vp backend compiling 'main' program
- //vendor NVIDIA Corporation
- //version 1.0.02
- //profile vs_1_1
- //program main
- //semantic main.ModelViewProj : C0
- //semantic main.vTexCoordScale01
- //semantic main.vTexCoordScale02
- //semantic main.vTexCoordScale03
- //semantic main.vTexCoordScale04
- //semantic main.g_VSCONST_0_025_05_1 : C28
- //var float4 IN.Position : $vin.POSITION : POSITION : 0 : 1
- //var float4 IN.TexCoord0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
- //var float4x4 ModelViewProj : C0 : c[0], 4 : 1 : 1
- //var float4 vTexCoordScale01 : : c[4] : 2 : 1
- //var float4 vTexCoordScale02 : : c[5] : 3 : 1
- //var float4 vTexCoordScale03 : : c[6] : 4 : 1
- //var float4 vTexCoordScale04 : : c[7] : 5 : 1
- //var float4 g_VSCONST_0_025_05_1 : C28 : c[28] : 6 : 1
- //var float4 HPosition : $vout.POSITION : POSITION : -1 : 1
- //var float4 Tex0 : $vout.TEXCOORD0 : TEXCOORD0 : -1 : 1
- //var float4 Tex1 : $vout.TEXCOORD1 : TEXCOORD1 : -1 : 1
- //var float4 Tex2 : $vout.TEXCOORD2 : TEXCOORD2 : -1 : 1
- //var float4 Tex3 : $vout.TEXCOORD3 : TEXCOORD3 : -1 : 1
- dcl_texcoord0 v7
- dcl_position v0
- dp4 oPos.x, c0, v0
- dp4 oPos.y, c1, v0
- dp4 oPos.z, c2, v0
- dp4 oPos.w, c3, v0
- mul oT0.xy, v7.xy, c4.xy
- mul oT1.xy, v7.xy, c5.xy
- mul oT2.xy, v7.xy, c6.xy
- mul oT3.xy, v7.xy, c7.xy
- // 8 instructions
- // 0 temp registers
- // End of program
-